+Test code voor 2 vensters
[f432xdd.git] / java / Graph Editor / src / app / Main.java
blob9ff2e7c64e0344fc3db7b1dbf019ea4c75dfd9bf
1 package app;
3 import controllers.*;
4 import models.*;
5 import interfaces.*;
7 public class Main {
8 private GraphModel model;
9 private GraphFrame frame;
11 private boolean twoWindows = false;
12 public Main(){
13 model = new GraphModel();
14 frame = new GraphFrame(model);
15 new SelectionController(frame, model);
17 if(twoWindows){
18 //Test code voor 2 vensters!
19 GraphFrame frame2 = new GraphFrame(model);
20 new SelectionController(frame2, model);
24 /**
25 * @param args
27 public static void main(String[] args) {
28 new Main();